"""
@File    : demo.py
@Time    : 2021/11/16 0:13
@Author  : chenhuayan
@Software: PyCharm
"""
# !/usr/bin/env python3
# -*- coding: utf-8 -*-
from common.utils.mysql_operate import MysqlDb

if __name__ == '__main__':
    db = MysqlDb('testdb')
    res = db.select_db(sql='SElECT * from t1')
    db.excute_db('insert into t2')
    print(res)
